package com.chzu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author lz
 * @Version 1.0
 * @Company 滁州大健康与养老产业研究院
 * @ClassName politicalQuota
 * @Description 入党指标实体类
 * @Date 2022/02/10 23:00
 */
@Data
public class PoliticalQuota implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("唯一主键id")
    private Integer id;

    @ApiModelProperty("学期")
    private String semester;

    @ApiModelProperty("大一学期指标")
    private String quotaFirst;

    @ApiModelProperty("大二学期指标")
    private String quotaSecond;

    @ApiModelProperty("大三学期指标")
    private String quotaThirst;

    @ApiModelProperty("大四学期指标")
    private  String quotaFourth;

    @ApiModelProperty("1为启用0为不启用")
    @TableLogic(value = "1",delval = "0")
    private boolean status;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
}
